import request from '@/utils/request';

/*

Author: factoryOpen
Date: 2025-06-01
Version: 1.0.0-draft.0
Web URL: www.factoryopen.net

*/


// 查询工序移转记录列表
export function listProcessMoves(query) {
    return request({
        url: '/exe/processMoves/list',
        method: 'get',
        params: query
    })
}

// 查询工序移转记录详细
export function getProcessMoves(id) {
    return request({
        url: '/exe/processMoves/' + id,
        method: 'get'
    })
}

// 新增工序移转记录
export function addProcessMoves(data) {
    return request({
        url: '/exe/processMoves',
        method: 'post',
        data: data
    })
}

// 修改工序移转记录
export function updateProcessMoves(data) {
    return request({
        url: '/exe/processMoves',
        method: 'put',
        data: data
    })
}

// 删除工序移转记录
export function delProcessMoves(id) {
    return request({
        url: '/exe/processMoves/' + id,
        method: 'delete'
    })
}



